package com.iphanta.community.remote.feign;

import com.iphanta.community.remote.common.RemoteResult;
import com.iphanta.community.remote.traffic.AllActivityResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @author 墨声 E-mail: zehong.hongframe.huang@gmail.com
 * create time: 4/14/22 2:22 PM
 */
//@FeignClient(value = "activity-server", url = "${activity.server}")
public interface ActivityFeign {

    @PostMapping(value = "allActivity", produces = "application/json; charset=UTF-8")
    RemoteResult<AllActivityResponse> allActivity();

}
